package com.weicx.wuzhiops.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author:
 * @date: 2022-12-13 10:15:29
 * @since: 1.0
 */
@ApiModel(value = "报修记录请求")
public class RepairRecordRequest extends PageRequest {
    private static final long serialVersionUID = 7880485873153948300L;


    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "主键ID列表", notes = "删除时传批量删")
    private List<Long> idList;


    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "报修人")
    private String repairman;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "所属楼栋")
    private String building;

    @ApiModelProperty(value = "所属教室")
    private String classroom;

    @ApiModelProperty(value = "报修内容")
    private String content;

    @ApiModelProperty(value = "维修截止时间")
    private LocalDateTime repairEndTime;

    @ApiModelProperty(value = "维修状态 1已报修 2维修中 3已修复")
    private Integer state;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<Long> getIdList() {
        return idList;
    }

    public void setIdList(List<Long> idList) {
        this.idList = idList;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getRepairman() {
        return repairman;
    }

    public void setRepairman(String repairman) {
        this.repairman = repairman;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBuilding() {
        return building;
    }

    public void setBuilding(String building) {
        this.building = building;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public LocalDateTime getRepairEndTime() {
        return repairEndTime;
    }

    public void setRepairEndTime(LocalDateTime repairEndTime) {
        this.repairEndTime = repairEndTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
